package cn.com.dal.dao;

import java.util.HashMap;

import cn.com.dal.dataobject.VerifyDO;
import cn.com.support.dal.BaseDAO;
import cn.com.support.dal.DAOException;

public interface VerifyDAO<T extends VerifyDO> extends BaseDAO<T> {

	/**
	 * 要写某个用户需要去处理的审核数量
	 * 
	 * @param params
	 * @throws DAOException
	 * @return
	 */
	Long selectNeedVerifyTotalCount(String userName) throws DAOException;

	/**
	 * 查询某个用户提交的审核真正进行中的数量
	 * 
	 * @param userName
	 * @throws DAOException
	 * @return
	 */
	Long selectVerifingTotalCount(HashMap<Object,Object> params) throws DAOException;

}
